﻿using System;
using System.Web.UI;
using SAS.WebSite.BaseClasses;

namespace SAS.WebSite.Pages
{
    public partial class Workspace : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            LoadUserControls();
        }

        private void LoadUserControls()
        {
            Control mainControl = LoadControl("~//VisualControls//Grids//WorkspaceSummary.ascx");
            phMainControl.Controls.Add(mainControl);

            Control detailControl = LoadControl("~//VisualControls//Forms//WorkspaceDetail.ascx");
            phMainControl.Controls.Add(detailControl);
        }
    }
}